<!--navbar-->
<div class="navbar">
    <div class="navbar-inner">
        <div class="center">云果</div>
        <div class="right">
            <a href="{url:/yunucenter/setting}" class="link"><i class="icon icon-setting"></i></a>
        </div>
    </div>
</div>
<div class="pages navbar-through">
    <div class="page" data-page="mineIndex">
        <div class="page-content">
            <div class="head" style="background-image:url({$this->user['head_ico']})">
<!--                 <div class="row">
                    <a href="mine/setting.html" class="link"><i class="icon icon-setting"></i></a>
                    <a href="mine/message.html" class="link right new"><i class="icon icon-message"></i></a>    
                </div> -->
                <div class="user">
                    <div class="avatar">
                        {set:$user_ico = $this->user['head_ico']}
                        <a href="{url:/yunucenter/info}"><img src="{url:/pic/thumb/img/$user_ico/w/100/h/100}" alt="" onerror="this.src='{skin:images/front/user_ico.gif}'"></a>
                    </div>
                    <div class="name">
                        {$user['true_name']}<a href="{url:/yunucenter/info}" class="edit"><i class="icon-edit"></i></a>
                    </div>
                </div>
            </div>
            <div class="row mine-a-block no-gutter">
                <div class="col-auto">
                    <a href="{url:/yunucenter/order/type/pay}"><i class="icon icon-pay"></i>待付款</a>
                </div>
                <div class="col-auto">
                    <a href="{url:/yunucenter/order/type/delivery}"><i class="icon icon-delivery"></i>待发货</a>
                </div>
                <div class="col-auto">
                    <a href="{url:/yunucenter/order/type/receipt}"><i class="icon icon-receipt"></i>待收货</a>
                </div>
                 <div class="col-auto">
                    <a href="{url:/yunucenter/order/type/finished}"><i class="icon icon-service"></i>售后</a>
                </div>
            </div>
            <div class="list-block mine-b-block">
                <ul>
                    {set:$distriid=Yun::getDistributorGroupID()}
                    {if: $user['group_id']==$distriid}
                    <li class="item-content item-link">
                        <a href="{url:/yunucenter/peraccount}" class="item-inner">
                            <div class="item-media">
                                <i class="icon icon-add"></i>
                            </div>
                            <div class="item-title">
                                个人账户
                            </div>
                        </a>
                    </li>
                    {/if}
                    <li class="item-content item-link">
                        <a href="{url:/yunucenter/tenants}" class="item-inner">
                            <div class="item-media">
                                <i class="icon icon-vendor"></i>
                            </div>
                            <div class="item-title">
                                商家入驻
                            </div>
                        </a>
                    </li>
                    <li class="item-content item-link">
                        <a href="{url:/yunucenter/customization}" class="item-inner">
                            <div class="item-media">
                                <i class="icon icon-customization"></i>
                            </div>
                            <div class="item-title">
                                私人定制
                            </div>
                        </a>
                    </li>



                </ul>
            </div>

            <div class="list-block mine-b-block">
                <ul>
                    <li class="item-content item-link">
                        <a href="{url:/yunsimple/cart}" class="item-inner">
                            <div class="item-media">
                                <i class="icon icon-cart"></i>
                            </div>
                            <div class="item-title">
                                购物车
                            </div>
                        </a>
                    </li>
                    <li class="item-content item-link">
                        <a href="{url:/yunucenter/redpacket}" class="item-inner">
                            <div class="item-media">
                                <i class="icon icon-coupon"></i>
                            </div>
                            <div class="item-title">
                                代金券
                            </div>
                        </a>
                    </li>
                    <li class="item-content item-link">
                        <a href="#" class="item-inner service">
                            <div class="item-media">
                                <i class="icon icon-service"></i>
                            </div>
                            <div class="item-title">
                                联系客服
                            </div>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>